// Package expressinfo
// @Link  https://github.com/bufanyun/hotgo
// @Copyright  Copyright (c) 2025 HotGo CLI
// @Author  Ms <133814250@qq.com>
// @License  https://github.com/bufanyun/hotgo/blob/master/LICENSE
// @AutoGenerate Version 2.15.11
package expressinfo

import (
	"hotgo/internal/model/input/expressinfoin"
	"hotgo/internal/model/input/form"

	"github.com/gogf/gf/v2/frame/g"
)

// ListReq 查询物流信息列表
type ListReq struct {
	g.Meta `path:"/expressInfo/list" method:"get" tags:"物流信息" summary:"获取物流信息列表"`
	expressinfoin.ExpressInfoListInp
}

type ListRes struct {
	form.PageRes
	List []*expressinfoin.ExpressInfoListModel `json:"list"   dc:"数据列表"`
}

// ExportReq 导出物流信息列表
type ExportReq struct {
	g.Meta `path:"/expressInfo/export" method:"get" tags:"物流信息" summary:"导出物流信息列表"`
	expressinfoin.ExpressInfoListInp
}

type ExportRes struct{}

// ViewReq 获取物流信息指定信息
type ViewReq struct {
	g.Meta `path:"/expressInfo/view" method:"get" tags:"物流信息" summary:"获取物流信息指定信息"`
	expressinfoin.ExpressInfoViewInp
}

type ViewRes struct {
	*expressinfoin.ExpressInfoViewModel
}

// EditReq 修改/新增物流信息
type EditReq struct {
	g.Meta `path:"/expressInfo/edit" method:"post" tags:"物流信息" summary:"修改/新增物流信息"`
	expressinfoin.ExpressInfoEditInp
}

type EditRes struct {
	Id int64
}

// DeleteReq 删除物流信息
type DeleteReq struct {
	g.Meta `path:"/expressInfo/delete" method:"post" tags:"物流信息" summary:"删除物流信息"`
	expressinfoin.ExpressInfoDeleteInp
}

type DeleteRes struct{}

type ExpressStatusChangeReq struct {
	g.Meta `path:"/expressInfo/statusChange" method:"post" tags:"物流信息" summary:"修改物流信息状态"`
	expressinfoin.ExpressInfoChangeStatusInp
}

type ExpressStatusChangeRes struct {
	expressinfoin.ExpressInfoChangeStatusModel
}
